Let's move the sprite to the left side of the screen.

  • Click on and drag out Go To. Drop it at the bottom of your program.

The numbers in this command are coordinates. The first number is the x-coordinate. It controls where the sprite is from left to right.

  • Change the first number (the x-coordinate) in .go_to() to -125.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("winter") sprite = codesters.Sprite("person12")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)